import request, { scope } from '../../utils/request';

const userUrl = scope('user');

export const register = (nickName, phone, password) => {
  return request({
    url: userUrl('register'),
    method: 'post',
    data: { nickName, phone, password },
  });
};

export * from './category';
export * from './product';
export * from './address';
